<?php /* Smarty version 2.6.27, created on 2019-11-04 17:54:20
         compiled from online/olRealTimeData.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 't', 'online/olRealTimeData.tpl', 7, false),array('modifier', 'strtotime', 'online/olRealTimeData.tpl', 13, false),)), $this); ?>
<div id="olrealtime" style="min-width: 400px; height: 320px; margin: 0 auto;padding:0 12px; padding-bottom:10px; margin:6px 0; border: solid 1px #ABABAB;border-radius: 5px;background: #FAFAFA;"></div>

<div style="padding:0 12px; padding-bottom:10px; margin:6px 0; border: solid 1px #ABABAB;border-radius: 5px;background: #FAFAFA;">
    <table cellpadding="0" cellspacing="0" border="0" class="oddeven px1">
        <thead>
        <tr height="44px">
            <th ><?php echo ((is_array($_tmp='时间')) ? $this->_run_mod_handler('t', true, $_tmp) : t($_tmp)); ?>
</th>
            <th><?php echo ((is_array($_tmp='在线人数')) ? $this->_run_mod_handler('t', true, $_tmp) : t($_tmp)); ?>
</th>
        </tr>
        </thead>
        <tbody>
        <?php $_from = $this->_tpl_vars['role']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['i']):
?>
            <?php if (( ((is_array($_tmp=$this->_tpl_vars['k'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp)) % 3600 ) == 0): ?>
                <tr>
                    <td><?php echo $this->_tpl_vars['k']; ?>
</td>
                    <td><?php echo $this->_tpl_vars['i']; ?>
</td>
                </tr>
            <?php endif; ?>
            <?php endforeach; endif; unset($_from); ?>
        </tbody>

        <tfoot>
        <tr>
            <th ><?php echo ((is_array($_tmp='时间')) ? $this->_run_mod_handler('t', true, $_tmp) : t($_tmp)); ?>
</th>
            <th><?php echo ((is_array($_tmp='在线人数')) ? $this->_run_mod_handler('t', true, $_tmp) : t($_tmp)); ?>
</th>
        </tr>
        </tfoot>
    </table>
</div>


<script>
$(document).ready(function(){
	$('.oddeven tbody tr:odd').addClass('odd');
	$('.oddeven tbody tr:even').addClass('even');
});
$(document).ready(function() {
	<?php echo $this->_tpl_vars['chart']; ?>

});
</script>